package cn.wynu.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class StudentAspect {

    @Before("execution(* cn.wynu.service.StudentService.*(..))")
    public void validPermissions() {
        System.out.println("系统检测权限");
    }
}
